package cn.stimd.spring.aop.support;

import cn.stimd.spring.aop.MethodMatcher;

import java.lang.reflect.Method;

/**
 * 静态方法匹配，不支持运行时动态方法匹配
 * <p>
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public abstract class StaticMethodMatcher implements MethodMatcher {
    @Override
    public final boolean matches(Method method, Class<?> targetClass, Object... args) {
        throw new UnsupportedOperationException();
    }

    @Override
    public final boolean isRuntime() {
        return false;
    }
}
